package com.bogo.dbtable.service.dbtable.serviceImpl;

import com.bogo.dbtable.modelVo.table.TableVo;
import com.bogo.dbtable.service.dbtable.domain.Field;
import com.bogo.dbtable.service.dbtable.domain.Table;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author: CHICHI
 * @Date: 2025-05-08-13:58
 * @Description:
 */
public interface TableService {

    void createTable(Table table) throws SQLException;

    List<TableVo> getTable()throws SQLException;

    void updateTable(String tableName, String fieldName)throws SQLException;

    TableVo getTableBytableName(String tableName)throws SQLException;

    void newUpdateTable(String tableName, Field field);

    void deleteTable(Integer id);
}
